package com.model;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author
 * @Description: 菜单
 * @date 2021/4/17 13:05
 */
@Data
public class SysMenu implements Serializable {

    private static final long serialVersionUID = -2272551830369553374L;
    /**
     * ID
     */
    private Long id;
    /**
     * 是否外链
     */
    private Integer iFrame;
    /**
     * 菜单名称
     */
    private String name;
    /**
     * 组件
     */
    private String component;
    /**
     * 上级菜单ID
     */
    private int pid;
    /**
     * 排序
     */
    private Long sort;
    /**
     * 图标
     */
    private String icon;
    /**
     * 链接地址
     */
    private String path;

    private Integer cache;

    private Integer hidden;

    private String componentName;
    /**
     * 创建日期
     */
    private Date createTime;

    private String permission;

    private Integer type;

    private String scope;
    
    private List<SysMenu> chdlist;
}
